* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 14px;
  background-color: var(--color-bg-1);
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

.echarts-tooltip-diy {
  background: linear-gradient(
    304.17deg,
    rgba(253, 254, 255, 0.6) -6.04%,
    rgba(244, 247, 252, 0.6) 85.2%
  ) !important;
  border: none !important;
  backdrop-filter: blur(10px) !important;
  /* Note: backdrop-filter has minimal browser support */

  border-radius: 6px !important;
  .content-panel {
    display: flex;
    justify-content: space-between;
    padding: 0 9px;
    background: rgba(255, 255, 255, 0.8);
    width: 164px;
    height: 32px;
    line-height: 32px;
    box-shadow: 6px 0px 20px rgba(34, 87, 188, 0.1);
    border-radius: 4px;
    margin-bottom: 4px;
  }
  .tooltip-title {
    margin: 0 0 10px 0;
  }
  p {
    margin: 0;
  }
  .tooltip-title,
  .tooltip-value {
    font-size: 13px;
    line-height: 15px;
    display: flex;
    align-items: center;
    text-align: right;
    color: #1d2129;
    font-weight: bold;
  }
  .tooltip-item-icon {
    display: inline-block;
    margin-right: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
  }
}

.general-card {
  border-radius: 4px;
  border: none;
  & > .arco-card-header {
    height: auto;
    padding: 20px;
    border: none;
  }
  & > .arco-card-body {
    padding: 0 20px 20px 20px;
  }
}

.split-line {
  border-color: rgb(var(--gray-2));
}

.arco-table-cell {
  .circle {
    display: inline-block;
    margin-right: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgb(var(--blue-6));
    &.pass {
      background-color: rgb(var(--green-6));
    }
  }
}


/**
 * Add
 */
.custom-card {
  border-radius: 4px;
  border: none;
  & > .arco-card-header {
    height: auto;
    padding: 20px;
    border: none;
  }
  & > .arco-card-body {
    /*padding: 0 20px 20px 20px;*/
  }
}

// 自定义单选框 begin
.custom-radio-card {
  padding: 8px 16px;
  border: 1px solid var(--color-border-2);
  border-radius: 4px;
  box-sizing: border-box;
}
.custom-radio-card-mask {
  height: 14px;
  width: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  border: 1px solid var(--color-border-2);
  box-sizing: border-box;
}
.custom-radio-card-mask-dot {
  width: 8px;
  height: 8px;
  border-radius: 100%;
}
/*.custom-radio-card-title {
  color: var(--color-text-1);
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 8px;
}*/
.custom-radio-card:hover,
.custom-radio-card-checked,
.custom-radio-card:hover .custom-radio-card-mask,
.custom-radio-card-checked  .custom-radio-card-mask{
  border-color: rgb(var(--primary-6));
}
.custom-radio-card-checked {
  background-color: var(--color-primary-light-1);
}
.custom-radio-card:hover .custom-radio-card-title,
.custom-radio-card-checked .custom-radio-card-title {
  color: rgb(var(--primary-6));
}
.custom-radio-card-checked .custom-radio-card-mask-dot {
  background-color: rgb(var(--primary-6));
}
// 自定义单选框 end

// 自定义复选框 begin
.custom-checkbox-card {
  padding: 7px 12px;
  border: 1px solid var(--color-border-2);
  border-radius: 4px;
  box-sizing: border-box;
  .arco-checkbox {
    padding-left: 0;
  }
}
.custom-checkbox-card-mask {
  height: 14px;
  width: 14px;
  margin-top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  border: 1px solid var(--color-border-2);
  box-sizing: border-box;
}
.custom-checkbox-card-mask-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}
/*.custom-checkbox-card-title {
  color: var(--color-text-1);
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 8px;
}*/
.custom-checkbox-card:hover,
.custom-checkbox-card-checked,
.custom-checkbox-card:hover .custom-checkbox-card-mask,
.custom-checkbox-card-checked .custom-checkbox-card-mask {
  border-color: rgb(var(--primary-6));
}
.custom-checkbox-card-checked {
  background-color: var(--color-primary-light-1);
}
.custom-checkbox-card:hover .custom-checkbox-card-title,
.custom-checkbox-card-checked .custom-checkbox-card-title {
  color: rgb(var(--primary-6));
}
.custom-checkbox-card-checked .custom-checkbox-card-mask-dot {
  background-color: rgb(var(--primary-6));
}
// 自定义复选框 end


.custom-trigger-translate {
  padding: 10px;
  width: 100%;
  background-color: var(--color-bg-popup);
  border-radius: 4px;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.15);
}


.container {
  padding: 10px;
}

.arco-table-td .arco-btn-size-small {
  padding: 0 10px;
}

.arco-dropdown-list .is-danger {
  color: rgb(var(--danger-6));
}

.arco-image img {
  cursor: pointer;
}

.hover-image {
  transition: transform 0.3s ease;
}
.hover-image:hover {
  transform: scale(1.2);
}

.arco-dropdown-list .is-danger {
  color: rgb(var(--danger-6));
}

.query-form {
  position: relative;

  .group-rifgt {
    position: absolute;
    right: 0;
  }
}


// 滚动条样式
::-webkit-scrollbar {
  width: 9px;
  background-color: #eee;
  height: 9px;
}

::-webkit-scrollbar-track {
  border-radius: 15px;
  background-color: #eee;
}

::-webkit-scrollbar-thumb {
  border-radius: 15px;
  background-color: #c1c1c1;
  border-style: dashed;
  border-color: transparent;
  border-width: 1px;
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #aaa;
}

.video-modal {
  .arco-modal-body {
    padding: 0;
  }
  .video-box {
    width: 100%;
    margin: 0 auto;
    outline: 0;
    /*height: 450px;*/
  }
}